home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
-
- set -e
-
-
- if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt-nl "20070410-1"; then
- rm -f /var/lib/ispell/polish.hash
- rm -f /var/lib/ispell/polish.list
- rm -f /var/lib/ispell/polish.compat
- [ ! -d /var/lib/ispell ] || rmdir --ignore-fail-on-non-empty /var/lib/ispell
-
- if [ -e /usr/share/debconf/confmodule ]; then
- . /usr/share/debconf/confmodule
- db_purge || true
- fi
- fi
-
-
- # Automatically added by installdeb-ispell
- . /usr/share/debconf/confmodule
- SCRIPT="update-default-ispell"
-
- if [ "$1" = "configure" ] ; then
- if which $SCRIPT > /dev/null 2>&1; then
- $SCRIPT --rebuild
- else
- echo "Error: $SCRIPT not present or executable. Missing dependency on dictionaries-common?" >&2
- exit 1
- fi
- fi
- # End automatically added section
-
-
-